import { IsString } from 'class-validator'
import { IsOptionalString } from '@boticord/common/is-optional-string.decorator'

export class CacheUserUpdateDto {
  @IsString()
  declare username: string

  @IsString()
  declare discriminator: string

  @IsString()
  @IsOptionalString()
  declare avatar?: string

  @IsString()
  declare id: string
}
